//Copyright (c) 2012 The cwkshell Authors. All rights reserved. 
// Use of this source code is governed by a BSD-style license that can be 
// found in the LICENSE file. 
#ifndef CUC_CWKSHELL_VIEW__SHELL_BROWSER_DIALOG_H_ 
#define  CUC_CWKSHELL_VIEW__SHELL_BROWSER_DIALOG_H_ 
#include "cuc/src/cwkshell/view/shell_window.h" 
namespace cuc{ 
	namespace shell{ 
		class ShellBrowserDialog:public ShellWindow{
		public:
			 virtual ~ShellBrowserDialog();

			 static ShellBrowserDialog* CreateShellBrowserDialog(
				content::WebContents* web_contents,
				const ShellWindow::Feature& feature);

		private:

			friend class ShellBrowser;
			
			explicit ShellBrowserDialog(content::WebContents* web_contents);
			
			// Overridden from views::WidgetDelegate:
			virtual views::NonClientFrameView* 
				CreateNonClientFrameView(views::Widget* widget) OVERRIDE;
			virtual bool CanResize() const OVERRIDE {
				return true;
			}
			virtual bool CanMaximize() const OVERRIDE {
				return false;
			}

			DISALLOW_COPY_AND_ASSIGN(ShellBrowserDialog);
		};
	} //namespace shell 
} //namespace cuc 
#endif //CUC_CWKSHELL_VIEW__SHELL_BROWSER_DIALOG_H_ 
